export default {
  path: "/orders",
  redirect: "/orders/saleOrders",
  meta: {
    icon: "ri:user-2-fill",
    // showLink: false,
    title: "订单管理",
    rank: 6
  },
  children: [
    {
      path: "/orders/saleOrders",
      name: "销售订单",
      component: () => import("@/views/ordersManage/saleOrders.vue"),
      meta: {
        title: "销售订单",
        showParent: true,
        roles: ["admin", "sale"]
      }
    },
    {
      path: "/orders/addSaleOrders",
      name: "添加销售订单",
      component: () => import("@/views/ordersManage/AddSaleOrders.vue"),
      meta: {
        title: "添加销售订单",
        showLink: true,
        roles: ["sale"]
      }
    }
  ]
} satisfies RouteConfigsTable;
